{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "1c4d3aa3",
   "metadata": {},
   "source": [
    "## 搜索POI\n",
    "* url https://restapi.amap.com/v3/place/text?parameters\n",
    "* 请求参数"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "b5ddfec8",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>åæ°å</th>\n",
       "      <th>åæ°å.1</th>\n",
       "      <th>å«ä¹</th>\n",
       "      <th>è§åè¯´æ</th>\n",
       "      <th>æ¯å¦å¿",
       "é¡»</th>\n",
       "      <th>ç¼ºçå¼</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>key</td>\n",
       "      <td>key</td>\n",
       "      <td>è¯·æ±æå¡æéæ è¯</td>\n",
       "      <td>ç¨æ·å¨é«å¾·å°å¾å®ç½ç³è¯·Webæå¡APIç...</td>\n",
       "      <td>å¿",
       "å¡«</td>\n",
       "      <td>æ</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>keywords</td>\n",
       "      <td>keywords</td>\n",
       "      <td>æ¥è¯¢å",
       "³é®å­</td>\n",
       "      <td>è§åï¼ å¤ä¸ªå",
       "³é®å­ç¨â|âåå²è¥ä¸...</td>\n",
       "      <td>å¿",
       "å¡«(keywordsåtypesä¸¤è",
       "è³å°å¿",
       "éå",
       "¶ä¸)</td>\n",
       "      <td>æ</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>types</td>\n",
       "      <td>types</td>\n",
       "      <td>æ¥è¯¢POIç±»å</td>\n",
       "      <td>å¯éå¼ï¼åç±»ä»£ç  æ æ±å­ï¼è¥ç¨æ±...</td>\n",
       "      <td>å¿",
       "å¡«(keywordsåtypesä¸¤è",
       "è³å°å¿",
       "éå",
       "¶ä¸)</td>\n",
       "      <td>æ</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>city</td>\n",
       "      <td>city</td>\n",
       "      <td>æ¥è¯¢åå¸</td>\n",
       "      <td>å¯éå¼ï¼åå¸ä¸­æãä¸­æå",
       "¨æ¼ãcity...</td>\n",
       "      <td>å¯é</td>\n",
       "      <td>æ ï¼å",
       "¨å½èå´å",
       "æç´¢ï¼</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>citylimit</td>\n",
       "      <td>citylimit</td>\n",
       "      <td>ä»",
       "è¿åæå®åå¸æ°æ®</td>\n",
       "      <td>å¯éå¼ï¼true/false</td>\n",
       "      <td>å¯é</td>\n",
       "      <td>false</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>children</td>\n",
       "      <td>children</td>\n",
       "      <td>æ¯å¦æç",
       "§å±çº§å±ç¤ºå­POIæ°æ®</td>\n",
       "      <td>å¯éå¼ï¼children=1å½ä¸º0çæ¶åï¼å­PO...</td>\n",
       "      <td>å¯é</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>offset</td>\n",
       "      <td>offset</td>\n",
       "      <td>æ¯é¡µè®°å½æ°æ®</td>\n",
       "      <td>å¼ºçå»ºè®®ä¸è¶",
       "è¿25ï¼è¥è¶",
       "è¿25å¯è½é ...</td>\n",
       "      <td>å¯é</td>\n",
       "      <td>20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>page</td>\n",
       "      <td>page</td>\n",
       "      <td>å½åé¡µæ°</td>\n",
       "      <td>æå¤§ç¿»é¡µæ°100</td>\n",
       "      <td>å¯é</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>extensions</td>\n",
       "      <td>extensions</td>\n",
       "      <td>è¿åç»ææ§å¶</td>\n",
       "      <td>æ­¤é¡¹é»è®¤è¿ååºæ¬å°åä¿¡æ¯ï¼åå¼ä...</td>\n",
       "      <td>å¯é</td>\n",
       "      <td>base</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>sig</td>\n",
       "      <td>sig</td>\n",
       "      <td>æ°å­ç­¾å</td>\n",
       "      <td>æ°å­ç­¾åè·ååä½¿ç¨æ¹æ³</td>\n",
       "      <td>å¯é</td>\n",
       "      <td>æ</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>output</td>\n",
       "      <td>output</td>\n",
       "      <td>è¿åæ°æ®æ ¼å¼ç±»å</td>\n",
       "      <td>å¯éå¼ï¼JSONï¼XML</td>\n",
       "      <td>å¯é</td>\n",
       "      <td>JSON</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>callback</td>\n",
       "      <td>callback</td>\n",
       "      <td>åè°å½æ°</td>\n",
       "      <td>callbackå¼æ¯ç¨æ·å®ä¹çå½æ°åç§°ï¼æ­...</td>\n",
       "      <td>å¯é</td>\n",
       "      <td>æ</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "     åæ°å åæ°å.1                                å«ä¹  \\\n",
       "0          key         key              è¯·æ±æå¡æéæ è¯   \n",
       "1     keywords    keywords                       æ¥è¯¢å\n",
       "³é®å­   \n",
       "2        types       types                       æ¥è¯¢POIç±»å   \n",
       "3         city        city                          æ¥è¯¢åå¸   \n",
       "4    citylimit   citylimit           ä»\n",
       "è¿åæå®åå¸æ°æ®   \n",
       "5     children    children  æ¯å¦æç\n",
       "§å±çº§å±ç¤ºå­POIæ°æ®   \n",
       "6       offset      offset                    æ¯é¡µè®°å½æ°æ®   \n",
       "7         page        page                          å½åé¡µæ°   \n",
       "8   extensions  extensions                    è¿åç»ææ§å¶   \n",
       "9          sig         sig                          æ°å­ç­¾å   \n",
       "10      output      output              è¿åæ°æ®æ ¼å¼ç±»å   \n",
       "11    callback    callback                          åè°å½æ°   \n",
       "\n",
       "                                         è§åè¯´æ  \\\n",
       "0   ç¨æ·å¨é«å¾·å°å¾å®ç½ç³è¯·Webæå¡APIç...   \n",
       "1   è§åï¼ å¤ä¸ªå\n",
       "³é®å­ç¨â|âåå²è¥ä¸...   \n",
       "2   å¯éå¼ï¼åç±»ä»£ç  æ æ±å­ï¼è¥ç¨æ±...   \n",
       "3   å¯éå¼ï¼åå¸ä¸­æãä¸­æå\n",
       "¨æ¼ãcity...   \n",
       "4                              å¯éå¼ï¼true/false   \n",
       "5   å¯éå¼ï¼children=1å½ä¸º0çæ¶åï¼å­PO...   \n",
       "6   å¼ºçå»ºè®®ä¸è¶\n",
       "è¿25ï¼è¥è¶\n",
       "è¿25å¯è½é ...   \n",
       "7                                  æå¤§ç¿»é¡µæ°100   \n",
       "8   æ­¤é¡¹é»è®¤è¿ååºæ¬å°åä¿¡æ¯ï¼åå¼ä...   \n",
       "9                   æ°å­ç­¾åè·ååä½¿ç¨æ¹æ³   \n",
       "10                             å¯éå¼ï¼JSONï¼XML   \n",
       "11  callbackå¼æ¯ç¨æ·å®ä¹çå½æ°åç§°ï¼æ­...   \n",
       "\n",
       "                                        æ¯å¦å¿\n",
       "é¡»  \\\n",
       "0                                             å¿\n",
       "å¡«   \n",
       "1   å¿\n",
       "å¡«(keywordsåtypesä¸¤è\n",
       "è³å°å¿\n",
       "éå\n",
       "¶ä¸)   \n",
       "2   å¿\n",
       "å¡«(keywordsåtypesä¸¤è\n",
       "è³å°å¿\n",
       "éå\n",
       "¶ä¸)   \n",
       "3                                             å¯é   \n",
       "4                                             å¯é   \n",
       "5                                             å¯é   \n",
       "6                                             å¯é   \n",
       "7                                             å¯é   \n",
       "8                                             å¯é   \n",
       "9                                             å¯é   \n",
       "10                                            å¯é   \n",
       "11                                            å¯é   \n",
       "\n",
       "                         ç¼ºçå¼  \n",
       "0                               æ  \n",
       "1                               æ  \n",
       "2                               æ  \n",
       "3   æ ï¼å\n",
       "¨å½èå´å\n",
       "æç´¢ï¼  \n",
       "4                            false  \n",
       "5                                0  \n",
       "6                               20  \n",
       "7                                1  \n",
       "8                             base  \n",
       "9                               æ  \n",
       "10                            JSON  \n",
       "11                              æ  "
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import pandas as pd\n",
    "pd.read_html('https://lbs.amap.com/api/webservice/guide/api/search')[1]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "e533596f",
   "metadata": {},
   "outputs": [],
   "source": [
    "# 1.调用requests 模块（Google Chrome 浏览器）\n",
    "import requests\n",
    "\n",
    "# 2.请求方法： GET       \n",
    "\n",
    "# 3.URL：https://restapi.amap.com/v3/geocode/geo?parameters\n",
    "geo_url = \"https://restapi.amap.com/v3/geocode/geo?parameters\"\n",
    "\n",
    "# 4.准备参数，用于交换数据payload\n",
    "# payload用字典的形式来写\n",
    "payload = {\n",
    "    \"key\":\"0184fe0ae6b4b0efe89cbac8da9ac0ac\",\n",
    "    \"address\":\"广东省广州市从化区\"\n",
    "}\n",
    "\n",
    "# 5.发起请求\n",
    "r = requests.get(url=geo_url,params=payload)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "e1158e62",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'113.586605,23.548852'"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "广州南方学院_location = r.json()[ 'geocodes'][0]['location']\n",
    "广州南方学院_location "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "c86573a2",
   "metadata": {},
   "outputs": [],
   "source": [
    "# extensions = all\n",
    "# 1.调用requests 模块（Google Chrome 浏览器）\n",
    "import requests\n",
    "\n",
    "# 2.请求方法： GET       \n",
    "\n",
    "# 3.URL：https://restapi.amap.com/v3/geocode/regeo?parameters\n",
    "geo_url = \"https://restapi.amap.com/v3/place/text?parameters\"\n",
    "\n",
    "# 4.准备参数，用于交换数据payload\n",
    "# payload用字典的形式来写\n",
    "payload = {\n",
    "    \"key\":\"0184fe0ae6b4b0efe89cbac8da9ac0ac\",\n",
    "    \"address\":\"广东省广州市从化区\",\n",
    "    \"location\":广州南方学院_location ,\n",
    "    \"extensions\":\"all\",\n",
    "    \"keywords\":\"东北家宴\"\n",
    "}\n",
    "\n",
    "# 5.发起请求\n",
    "r = requests.get(url=geo_url,params=payload)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "87f81690",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [],\n",
       "  'cities': [{'citycode': '020',\n",
       "    'adcode': '440100',\n",
       "    'num': '6',\n",
       "    'name': '广州市'},\n",
       "   {'citycode': '0772', 'adcode': '450200', 'num': '3', 'name': '柳州市'},\n",
       "   {'citycode': '0512', 'adcode': '320500', 'num': '2', 'name': '苏州市'},\n",
       "   {'citycode': '029', 'adcode': '610100', 'num': '2', 'name': '西安市'},\n",
       "   {'citycode': '0859', 'adcode': '522300', 'num': '1', 'name': '黔西南布依族苗族自治州'},\n",
       "   {'citycode': '0851', 'adcode': '520100', 'num': '1', 'name': '贵阳市'},\n",
       "   {'citycode': '0791', 'adcode': '360100', 'num': '1', 'name': '南昌市'},\n",
       "   {'citycode': '0591', 'adcode': '350100', 'num': '1', 'name': '福州市'},\n",
       "   {'citycode': '0570', 'adcode': '330800', 'num': '1', 'name': '衢州市'},\n",
       "   {'citycode': '0534', 'adcode': '371400', 'num': '1', 'name': '德州市'},\n",
       "   {'citycode': '024', 'adcode': '210100', 'num': '1', 'name': '沈阳市'}]},\n",
       " 'count': '0',\n",
       " 'infocode': '10000',\n",
       " 'pois': [],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "r.json()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "id": "b9a7119b",
   "metadata": {},
   "outputs": [],
   "source": [
    "# 1.调用requests 模块（Google Chrome 浏览器）\n",
    "import requests\n",
    "\n",
    "# 2.请求方法： GET       \n",
    "\n",
    "# 3.URL：https://restapi.amap.com/v3/geocode/geo?parameters\n",
    "geo_url = \"https://restapi.amap.com/v5/place/around?parameters\"\n",
    "\n",
    "# 4.准备参数，用于交换数据payload\n",
    "# payload用字典的形式来写\n",
    "payload = {\n",
    "    \"key\":\"0184fe0ae6b4b0efe89cbac8da9ac0ac\",\n",
    "    \"location\":广州南方学院_location ,\n",
    "    \"keywords\":\"美食\"\n",
    "}\n",
    "\n",
    "# 5.发起请求\n",
    "r = requests.get(url=geo_url,params=payload)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "id": "1470b021",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'name': '正果云吞',\n",
       "   'id': 'B0FFK1IMV4',\n",
       "   'location': '113.586602,23.548857',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'typecode': '050100',\n",
       "   'pname': '广东省',\n",
       "   'cityname': '广州市',\n",
       "   'adname': '从化区',\n",
       "   'address': '新城东路与新城东路六巷交叉口北100米',\n",
       "   'pcode': '440000',\n",
       "   'citycode': '020',\n",
       "   'adcode': '440117'},\n",
       "  {'name': '粤',\n",
       "   'id': 'B0IGK9OPB2',\n",
       "   'location': '113.586614,23.548861',\n",
       "   'type': '餐饮服务;中餐厅;特色/地方风味餐厅',\n",
       "   'typecode': '050118',\n",
       "   'pname': '广东省',\n",
       "   'cityname': '广州市',\n",
       "   'adname': '从化区',\n",
       "   'address': '新城东路与新城东路六巷交叉口北100米',\n",
       "   'pcode': '440000',\n",
       "   'citycode': '020',\n",
       "   'adcode': '440117'},\n",
       "  {'name': '湘川小吃凉拌店',\n",
       "   'id': 'B0FFIXN322',\n",
       "   'location': '113.587185,23.548505',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'typecode': '050100',\n",
       "   'pname': '广东省',\n",
       "   'cityname': '广州市',\n",
       "   'adname': '从化区',\n",
       "   'address': '荔香村新城东路6-7',\n",
       "   'pcode': '440000',\n",
       "   'citycode': '020',\n",
       "   'adcode': '440117'},\n",
       "  {'name': '天桥美食',\n",
       "   'id': 'B0G2AC735O',\n",
       "   'location': '113.585728,23.548493',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'typecode': '050100',\n",
       "   'pname': '广东省',\n",
       "   'cityname': '广州市',\n",
       "   'adname': '从化区',\n",
       "   'address': '新城中路顺秀楼顺丽楼西南侧',\n",
       "   'pcode': '440000',\n",
       "   'citycode': '020',\n",
       "   'adcode': '440117'},\n",
       "  {'name': '进口牛排与海鱼',\n",
       "   'id': 'B0H2HAHOU2',\n",
       "   'location': '113.585681,23.548557',\n",
       "   'type': '餐饮服务;外国餐厅;外国餐厅',\n",
       "   'typecode': '050200',\n",
       "   'pname': '广东省',\n",
       "   'cityname': '广州市',\n",
       "   'adname': '从化区',\n",
       "   'address': '新城中路顺秀楼顺丽楼',\n",
       "   'pcode': '440000',\n",
       "   'citycode': '020',\n",
       "   'adcode': '440117'},\n",
       "  {'name': '广振潮汕猪肚鸡汤饭',\n",
       "   'id': 'B0HRM5JFSM',\n",
       "   'location': '113.587600,23.548869',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'typecode': '050100',\n",
       "   'pname': '广东省',\n",
       "   'cityname': '广州市',\n",
       "   'adname': '从化区',\n",
       "   'address': '荔香村(新城东路99号正东方向120米)',\n",
       "   'pcode': '440000',\n",
       "   'citycode': '020',\n",
       "   'adcode': '440117'},\n",
       "  {'name': '柳州螺蛳粉(广百分店)',\n",
       "   'id': 'B0FFG2JO93',\n",
       "   'location': '113.587499,23.548399',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'typecode': '050100',\n",
       "   'pname': '广东省',\n",
       "   'cityname': '广州市',\n",
       "   'adname': '从化区',\n",
       "   'address': '街口街道新城东路荔香村6号之三',\n",
       "   'pcode': '440000',\n",
       "   'citycode': '020',\n",
       "   'adcode': '440117'},\n",
       "  {'name': '家如粥店',\n",
       "   'id': 'B0HK9ZYORK',\n",
       "   'location': '113.585629,23.548526',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'typecode': '050300',\n",
       "   'pname': '广东省',\n",
       "   'cityname': '广州市',\n",
       "   'adname': '从化区',\n",
       "   'address': '街口街新城中路7号',\n",
       "   'pcode': '440000',\n",
       "   'citycode': '020',\n",
       "   'adcode': '440117'},\n",
       "  {'name': '潮味记粉面世家',\n",
       "   'id': 'B0H3FXETGF',\n",
       "   'location': '113.587557,23.548398',\n",
       "   'type': '餐饮服务;中餐厅;潮州菜',\n",
       "   'typecode': '050123',\n",
       "   'pname': '广东省',\n",
       "   'cityname': '广州市',\n",
       "   'adname': '从化区',\n",
       "   'address': '街口街新城东路荔香村6号之二',\n",
       "   'pcode': '440000',\n",
       "   'citycode': '020',\n",
       "   'adcode': '440117'},\n",
       "  {'name': '八哥酸辣粉(荔香村店)',\n",
       "   'id': 'B0FFF3UW5J',\n",
       "   'location': '113.587575,23.548397',\n",
       "   'type': '餐饮服务;中餐厅;四川菜(川菜)|餐饮服务;中餐厅;特色/地方风味餐厅',\n",
       "   'typecode': '050102|050118',\n",
       "   'pname': '广东省',\n",
       "   'cityname': '广州市',\n",
       "   'adname': '从化区',\n",
       "   'address': '街口街东成路荔香邨二期首层A3号',\n",
       "   'pcode': '440000',\n",
       "   'citycode': '020',\n",
       "   'adcode': '440117'}],\n",
       " 'count': '10'}"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "r.json()"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "691985fa",
   "metadata": {},
   "source": [
    "## 天气查询\n",
    "> 天气查询是一个简单的HTTP接口，根据用户输入的adcode，查询目标区域当前/未来的天气情况。\n",
    "> url:https://restapi.amap.com/v3/weather/weatherInfo?parameters"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "id": "ce7ec96e",
   "metadata": {},
   "outputs": [],
   "source": [
    "# 1.调用requests 模块（Google Chrome 浏览器）\n",
    "import requests\n",
    "\n",
    "# 2.请求方法： GET       \n",
    "\n",
    "# 3.URL：https://restapi.amap.com/v3/geocode/geo?parameters\n",
    "geo_url = \"https://restapi.amap.com/v3/weather/weatherInfo?parameters\"\n",
    "\n",
    "# 4.准备参数，用于交换数据payload\n",
    "# payload用字典的形式来写\n",
    "# 四川\n",
    "payload = {\n",
    "    \"key\":\"0184fe0ae6b4b0efe89cbac8da9ac0ac\",\n",
    "    \"city\":510900\n",
    "    \n",
    "}\n",
    "\n",
    "# 5.发起请求\n",
    "r = requests.get(url=geo_url,params=payload)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "id": "0e708bf6",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'lives': [{'province': '四川',\n",
       "   'city': '遂宁市',\n",
       "   'adcode': '510900',\n",
       "   'weather': '阴',\n",
       "   'temperature': '25',\n",
       "   'winddirection': '南',\n",
       "   'windpower': '≤3',\n",
       "   'humidity': '57',\n",
       "   'reporttime': '2022-04-25 19:39:35'}]}"
      ]
     },
     "execution_count": 18,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "r.json()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "13570893",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
